import {
  HashRouter as Router,
  Switch,
  Route,
} from "react-router-dom";
import './App.css';
import { Login } from '../Login/Login';
import { Position } from "../Position/Position";
import { Menu } from "../Menu/Menu";
import { Info } from "../Info/Info";
import { Forecast } from "../Forecast/Forecast";
import { Cheat } from "../Chart/Cheat";



function App() {
  return <Router>
    <Switch>
      <Route path="/login" component={Login} ></Route>
      <Route path="/position" component={Position}></Route>
      <Route path="/menu" component={Menu}></Route>
      <Route path="/info" component={Info}></Route>
      <Route path="/forecast" component={Forecast}></Route>
      <Route path="/chart/:id" component={Cheat}></Route>
      <Route path="/" component={Login}></Route>
      
    </Switch>
  </Router>
}

export default App;
